package cn.amoqi.springbootrocketmq.v2.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 消息队列配置
 */

@Component
@ConfigurationProperties(prefix = "mq")
@Data
public class MqProperties {

    private String url;

    private String producerId;

    private String type;
}
